{
  "info": {
    "_postman_id": "f11886de-30eb-43f3-9be9-afd24b0c5d50",
    "name": "[Old] AlignbookWrapper API Collection with Session Validation",
    "description": "Complete API collection for AlignbookWrapper with Auth0 authentication and session validation",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
    "_exporter_id": "11692629",
    "_collection_link": "https://go.postman.co/collection/11692629-f11886de-30eb-43f3-9be9-afd24b0c5d50?source=collection_link"
  },
  "item": [
    {
      "name": "Authentication",
      "item": [
        {
          "name": "Login (Auth0 + AlignBook)",
          "event": [
            {
              "listen": "test",
              "script": {
                "exec": [
                  "var jsonData = pm.response.json();",
                  "if (jsonData.auth && jsonData.auth.access_token) {",
                  "    pm.collectionVariables.set('auth0Token', jsonData.auth.access_token);",
                  "    console.log('Token stored successfully');",
                  "}"
                ],
                "type": "text/javascript"
              }
            }
          ],
          "request": {
            "auth": {
              "type": "noauth"
            },
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"email\": \"alignbooktest@kgetechnologies.com\",\n  \"password\": \"ApiTest@123\"\n}"
            },
            "url": {
              "raw": "{{baseUrl}}/api/login/login",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "login",
                "login"
              ]
            }
          },
          "response": []
        },
        {
          "name": "Developer Test Login",
          "event": [
            {
              "listen": "test",
              "script": {
                "exec": [
                  "var jsonData = pm.response.json();",
                  "if (jsonData.auth && jsonData.auth.access_token) {",
                  "    pm.collectionVariables.set('auth0Token', jsonData.auth.access_token);",
                  "    console.log('Developer test token stored successfully');",
                  "}"
                ],
                "type": "text/javascript"
              }
            }
          ],
          "request": {
            "auth": {
              "type": "noauth"
            },
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"email\": \"developer@testing.com\",\n  \"password\": \"dev@test123\"\n}"
            },
            "url": {
              "raw": "{{baseUrl}}/api/login/login",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "login",
                "login"
              ]
            }
          },
          "response": []
        },
        {
          "name": "Logout",
          "event": [
            {
              "listen": "test",
              "script": {
                "exec": [
                  "pm.collectionVariables.set('auth0Token', '');",
                  "console.log('Token cleared from collection variables');"
                ],
                "type": "text/javascript"
              }
            }
          ],
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{}"
            },
            "url": {
              "raw": "{{baseUrl}}/api/login/logout",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "login",
                "logout"
              ]
            }
          },
          "response": []
        },
        {
          "name": "Validate Session",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/sessiontest/validate",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "sessiontest",
                "validate"
              ]
            }
          },
          "response": []
        },
        {
          "name": "Clear Cache",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{}"
            },
            "url": {
              "raw": "{{baseUrl}}/api/sessiontest/clear-cache",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "sessiontest",
                "clear-cache"
              ]
            }
          },
          "response": []
        }
      ]
    },
    {
      "name": "Auth Management",
      "item": [
        {
          "name": "Auth0 Login",
          "request": {
            "auth": {
              "type": "noauth"
            },
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"email\": \"user@example.com\",\n  \"password\": \"password123\"\n}"
            },
            "url": {
              "raw": "{{baseUrl}}/api/auth/login",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "auth",
                "login"
              ]
            }
          },
          "response": []
        },
        {
          "name": "Signup",
          "request": {
            "auth": {
              "type": "noauth"
            },
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"email\": \"newuser@example.com\",\n  \"password\": \"SecurePass123!\"\n}"
            },
            "url": {
              "raw": "{{baseUrl}}/api/auth/signup",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "auth",
                "signup"
              ]
            }
          },
          "response": []
        },
        {
          "name": "Validate Token",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{}"
            },
            "url": {
              "raw": "{{baseUrl}}/api/auth/validate",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "auth",
                "validate"
              ]
            }
          },
          "response": []
        },
        {
          "name": "Refresh Token",
          "request": {
            "auth": {
              "type": "noauth"
            },
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"refresh_token\": \"your_refresh_token_here\"\n}"
            },
            "url": {
              "raw": "{{baseUrl}}/api/auth/refresh",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "auth",
                "refresh"
              ]
            }
          },
          "response": []
        },
        {
          "name": "Auth Logout",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"refresh_token\": \"your_refresh_token_here\"\n}"
            },
            "url": {
              "raw": "{{baseUrl}}/api/auth/logout",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "auth",
                "logout"
              ]
            }
          },
          "response": []
        },
        {
          "name": "Get User Info",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/api/auth/user",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "auth",
                "user"
              ]
            }
          },
          "response": []
        },
        {
          "name": "Forgot Password",
          "request": {
            "auth": {
              "type": "noauth"
            },
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"email\": \"user@example.com\"\n}"
            },
            "url": {
              "raw": "{{baseUrl}}/api/auth/forgot-password",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "auth",
                "forgot-password"
              ]
            }
          },
          "response": []
        }
      ]
    },
    {
      "name": "Test Endpoints",
      "item": [
        {
          "name": "Get Protected Data",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/api/test/protected",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "test",
                "protected"
              ]
            }
          },
          "response": []
        },
        {
          "name": "Get States",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/api/test/states",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "test",
                "states"
              ]
            }
          },
          "response": []
        },
        {
          "name": "Get Cities",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/api/test/cities?state=Maharashtra",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "test",
                "cities"
              ],
              "query": [
                {
                  "key": "state",
                  "value": "Maharashtra"
                }
              ]
            }
          },
          "response": []
        }
      ]
    },
    {
      "name": "Company Management",
      "item": [
        {
          "name": "Get Company Selection List",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "X-API-Key",
                "value": "{{apiKey}}"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"enterprise_id\": \"6700a7e5-5008-4d8c-9671-26fe90448bce\",\n  \"user_id\": \"e2bb39e3-b5ca-47d1-92cd-b6dd91dc17ef\"\n}"
            },
            "url": {
              "raw": "{{baseUrl}}/api/company/selection-list",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "company",
                "selection-list"
              ]
            }
          },
          "response": []
        }
      ]
    },
    {
      "name": "Customer Management",
      "item": [
        {
          "name": "Get Customer List",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "X-API-Key",
                "value": "{{apiKey}}"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"info\": {\n    \"master_type\": 2101,\n    \"master_id\": \"\",\n    \"branch_id\": \"00000000-0000-0000-0000-000000000000\",\n    \"from_date\": \"2024-01-01\",\n    \"to_date\": \"2024-12-31\",\n    \"document_status\": 0\n  }\n}"
            },
            "url": {
              "raw": "{{baseUrl}}/api/customer/list",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "customer",
                "list"
              ]
            }
          },
          "response": []
        },
        {
          "name": "Get Document Misc Setup",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "X-API-Key",
                "value": "{{apiKey}}"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"voucher_type\": 2101\n}"
            },
            "url": {
              "raw": "{{baseUrl}}/api/customer/document-misc-setup",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "customer",
                "document-misc-setup"
              ]
            }
          },
          "response": []
        },
        {
          "name": "Get Short List",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "X-API-Key",
                "value": "{{apiKey}}"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"master_list_type\": 5,\n  \"new_id\": \"00000000-0000-0000-0000-000000000000\",\n  \"master_type\": 0\n}"
            },
            "url": {
              "raw": "{{baseUrl}}/api/customer/shortlist",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "customer",
                "shortlist"
              ]
            }
          },
          "response": []
        },
        {
          "name": "Get Master Code",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "X-API-Key",
                "value": "{{apiKey}}"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"master_type\": 2101,\n  \"parent_id\": \"\",\n  \"is_subledger\": false\n}"
            },
            "url": {
              "raw": "{{baseUrl}}/api/customer/master-code",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "customer",
                "master-code"
              ]
            }
          },
          "response": []
        },
        {
          "name": "Get Finance Setup",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "X-API-Key",
                "value": "{{apiKey}}"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"company_id\": \"COMP001\"\n}"
            },
            "url": {
              "raw": "{{baseUrl}}/api/customer/finance-setup",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "customer",
                "finance-setup"
              ]
            }
          },
          "response": []
        },
        {
          "name": "Save Customer",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "X-API-Key",
                "value": "{{apiKey}}"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"master_type\": 2101,\n  \"customer_name\": \"John Smith\",\n  \"customer_code\": \"CUST0001\",\n  \"phone\": \"9876543210\",\n  \"email\": \"john@example.com\",\n  \"address\": \"123 Main St, City\"\n}"
            },
            "url": {
              "raw": "{{baseUrl}}/api/customer/save",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "customer",
                "save"
              ]
            }
          },
          "response": []
        },
        {
          "name": "Display Customer",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "X-API-Key",
                "value": "{{apiKey}}"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"master_type\": 2101,\n  \"id\": \"CUST001\"\n}"
            },
            "url": {
              "raw": "{{baseUrl}}/api/customer/display",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "customer",
                "display"
              ]
            }
          },
          "response": []
        }
      ]
    },
    {
      "name": "Vendor Management",
      "item": [
        {
          "name": "Get Vendor List",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "X-API-Key",
                "value": "{{apiKey}}"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"info\": {\n    \"master_type\": 2102,\n    \"master_id\": \"\",\n    \"branch_id\": \"00000000-0000-0000-0000-000000000000\",\n    \"from_date\": \"2024-01-01\",\n    \"to_date\": \"2024-12-31\",\n    \"document_status\": 0\n  }\n}"
            },
            "url": {
              "raw": "{{baseUrl}}/api/vendor/list",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "vendor",
                "list"
              ]
            }
          },
          "response": []
        },
        {
          "name": "Get Document Misc Setup",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "X-API-Key",
                "value": "{{apiKey}}"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"voucher_type\": 2102\n}"
            },
            "url": {
              "raw": "{{baseUrl}}/api/vendor/document-misc-setup",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "vendor",
                "document-misc-setup"
              ]
            }
          },
          "response": []
        },
        {
          "name": "Get Short List",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "X-API-Key",
                "value": "{{apiKey}}"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"master_list_type\": 7,\n  \"new_id\": \"00000000-0000-0000-0000-000000000000\",\n  \"master_type\": 0\n}"
            },
            "url": {
              "raw": "{{baseUrl}}/api/vendor/shortlist",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "vendor",
                "shortlist"
              ]
            }
          },
          "response": []
        },
        {
          "name": "Get Master Code",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "X-API-Key",
                "value": "{{apiKey}}"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"master_type\": 2102,\n  \"parent_id\": \"\",\n  \"is_subledger\": false\n}"
            },
            "url": {
              "raw": "{{baseUrl}}/api/vendor/master-code",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "vendor",
                "master-code"
              ]
            }
          },
          "response": []
        },
        {
          "name": "Save Vendor",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "X-API-Key",
                "value": "{{apiKey}}"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"master_type\": 2102,\n  \"vendor_name\": \"ABC Suppliers\",\n  \"vendor_code\": \"VEND0001\",\n  \"phone\": \"9876543210\",\n  \"email\": \"abc@example.com\"\n}"
            },
            "url": {
              "raw": "{{baseUrl}}/api/vendor/save",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "vendor",
                "save"
              ]
            }
          },
          "response": []
        }
      ]
    },
    {
      "name": "GST Management",
      "item": [
        {
          "name": "Search Tax Payer",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "X-API-Key",
                "value": "{{apiKey}}"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"gst_no\": \"27AABCU9603R1ZM\"\n}"
            },
            "url": {
              "raw": "{{baseUrl}}/api/gst/search-taxpayer",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "gst",
                "search-taxpayer"
              ]
            }
          },
          "response": []
        },
        {
          "name": "Check GST Exists",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "X-API-Key",
                "value": "{{apiKey}}"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"gst_no\": \"27AABCU9603R1ZM\"\n}"
            },
            "url": {
              "raw": "{{baseUrl}}/api/gst/check-exists",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "gst",
                "check-exists"
              ]
            }
          },
          "response": []
        },
        {
          "name": "Get GST Adjustment Voucher Number",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "X-API-Key",
                "value": "{{apiKey}}"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"vid\": \"00000000-0000-0000-0000-000000000000\",\n  \"voucher_type\": 50,\n  \"location_id\": \"00000000-0000-0000-0000-000000000000\",\n  \"vdate\": \"2024-01-15\"\n}"
            },
            "url": {
              "raw": "{{baseUrl}}/api/gst/gst-adjusment-voucher-number",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "gst",
                "gst-adjusment-voucher-number"
              ]
            }
          },
          "response": []
        },
        {
          "name": "Get GST Adjustment Balance",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "X-API-Key",
                "value": "{{apiKey}}"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"month\": 1,\n  \"year\": 2024,\n  \"vdate\": \"2024-01-15\",\n  \"gstn_no\": \"27AABCU9603R1ZM\",\n  \"vid\": \"00000000-0000-0000-0000-000000000000\"\n}"
            },
            "url": {
              "raw": "{{baseUrl}}/api/gst/get-gst-adjusment-balance",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "gst",
                "get-gst-adjusment-balance"
              ]
            }
          },
          "response": []
        },
        {
          "name": "Save/Update GST Adjustment Balance",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "X-API-Key",
                "value": "{{apiKey}}"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"is_new_mode\": true,\n  \"adjustment_voucher\": {\n    \"id\": \"00000000-0000-0000-0000-000000000000\",\n    \"gstn_no\": \"27AABCU9603R1ZM\",\n    \"month\": 1,\n    \"year\": 2024,\n    \"vdate\": \"2024-01-15\",\n    \"narration\": \"GST Adjustment Entry\"\n  }\n}"
            },
            "url": {
              "raw": "{{baseUrl}}/api/gst/saveupdate-gst-adjusment-balance",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "gst",
                "saveupdate-gst-adjusment-balance"
              ]
            }
          },
          "response": []
        }
      ]
    },
    {
      "name": "Address Management",
      "item": [
        {
          "name": "Get Coordinates",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "X-API-Key",
                "value": "{{apiKey}}"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"pin_code\": \"400001\"\n}"
            },
            "url": {
              "raw": "{{baseUrl}}/api/address/coordinates",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "address",
                "coordinates"
              ]
            }
          },
          "response": []
        },
        {
          "name": "Get IFSC Detail",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "X-API-Key",
                "value": "{{apiKey}}"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"ifsc_code\": \"SBIN0000001\"\n}"
            },
            "url": {
              "raw": "{{baseUrl}}/api/address/ifsc-detail",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "address",
                "ifsc-detail"
              ]
            }
          },
          "response": []
        }
      ]
    },
    {
      "name": "Transfer Management",
      "item": [
        {
          "name": "Get Document Misc Setup",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "X-API-Key",
                "value": "{{apiKey}}"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"voucher_type\": 33\n}"
            },
            "url": {
              "raw": "{{baseUrl}}/api/transfer/document-misc-setup",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "transfer",
                "document-misc-setup"
              ]
            }
          },
          "response": []
        },
        {
          "name": "Get Document General Setup",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "X-API-Key",
                "value": "{{apiKey}}"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"voucher_type\": 33\n}"
            },
            "url": {
              "raw": "{{baseUrl}}/api/transfer/document-general-setup",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "transfer",
                "document-general-setup"
              ]
            }
          },
          "response": []
        },
        {
          "name": "Get Document Numbering Setup",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "X-API-Key",
                "value": "{{apiKey}}"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"voucher_type\": 33\n}"
            },
            "url": {
              "raw": "{{baseUrl}}/api/transfer/document-numbering-setup",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "transfer",
                "document-numbering-setup"
              ]
            }
          },
          "response": []
        },
        {
          "name": "Get Short List",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "X-API-Key",
                "value": "{{apiKey}}"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"master_list_type\": 39,\n  \"new_id\": \"00000000-0000-0000-0000-000000000000\",\n  \"master_type\": 0\n}"
            },
            "url": {
              "raw": "{{baseUrl}}/api/transfer/shortlist",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "transfer",
                "shortlist"
              ]
            }
          },
          "response": []
        },
        {
          "name": "Get Finance Setup",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "X-API-Key",
                "value": "{{apiKey}}"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"company_id\": \"COMP001\"\n}"
            },
            "url": {
              "raw": "{{baseUrl}}/api/transfer/finance-setup",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "transfer",
                "finance-setup"
              ]
            }
          },
          "response": []
        },
        {
          "name": "Get Voucher Number",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "X-API-Key",
                "value": "{{apiKey}}"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"voucher_type\": 33,\n  \"location_id\": \"LOC001\",\n  \"vdate\": \"2024-01-15\",\n  \"prefix\": \"TJ\"\n}"
            },
            "url": {
              "raw": "{{baseUrl}}/api/transfer/voucher-number",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "transfer",
                "voucher-number"
              ]
            }
          },
          "response": []
        },
        {
          "name": "Save Transfer Journal",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "X-API-Key",
                "value": "{{apiKey}}"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"voucher_type\": 33,\n  \"voucher_number\": \"TJ00001\",\n  \"voucher_date\": \"2024-01-15\",\n  \"from_account\": \"ACC001\",\n  \"to_account\": \"ACC002\",\n  \"amount\": 10000.00\n}"
            },
            "url": {
              "raw": "{{baseUrl}}/api/transfer/save",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "transfer",
                "save"
              ]
            }
          },
          "response": []
        }
      ]
    },
    {
      "name": "Payments Management",
      "item": [
        {
          "name": "Get Document Misc Setup",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "X-API-Key",
                "value": "{{apiKey}}"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"voucher_type\": 36\n}"
            },
            "url": {
              "raw": "{{baseUrl}}/api/payments/document-misc-setup",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "payments",
                "document-misc-setup"
              ]
            }
          },
          "response": []
        },
        {
          "name": "Get Document General Setup",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "X-API-Key",
                "value": "{{apiKey}}"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"voucher_type\": 36\n}"
            },
            "url": {
              "raw": "{{baseUrl}}/api/payments/document-general-setup",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "payments",
                "document-general-setup"
              ]
            }
          },
          "response": []
        },
        {
          "name": "Get Document Numbering Setup",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "X-API-Key",
                "value": "{{apiKey}}"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"voucher_type\": 36\n}"
            },
            "url": {
              "raw": "{{baseUrl}}/api/payments/document-numbering-setup",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "payments",
                "document-numbering-setup"
              ]
            }
          },
          "response": []
        },
        {
          "name": "Get Short List",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "X-API-Key",
                "value": "{{apiKey}}"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"master_list_type\": 76,\n  \"new_id\": \"00000000-0000-0000-0000-000000000000\",\n  \"master_type\": 0\n}"
            },
            "url": {
              "raw": "{{baseUrl}}/api/payments/shortlist",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "payments",
                "shortlist"
              ]
            }
          },
          "response": []
        },
        {
          "name": "Get Inventory Setup",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "X-API-Key",
                "value": "{{apiKey}}"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"company_id\": \"COMP001\"\n}"
            },
            "url": {
              "raw": "{{baseUrl}}/api/payments/inventory-setup",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "payments",
                "inventory-setup"
              ]
            }
          },
          "response": []
        },
        {
          "name": "Get Short List Work Project",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "X-API-Key",
                "value": "{{apiKey}}"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"master_list_type\": 118,\n  \"new_id\": \"00000000-0000-0000-0000-000000000000\",\n  \"party_id\": \"PARTY001\"\n}"
            },
            "url": {
              "raw": "{{baseUrl}}/api/payments/shortlist-work-project",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "payments",
                "shortlist-work-project"
              ]
            }
          },
          "response": []
        },
        {
          "name": "Get Grid Config",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "X-API-Key",
                "value": "{{apiKey}}"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"vtype\": 36\n}"
            },
            "url": {
              "raw": "{{baseUrl}}/api/payments/grid-config",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "payments",
                "grid-config"
              ]
            }
          },
          "response": []
        },
        {
          "name": "Get Voucher Number",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "X-API-Key",
                "value": "{{apiKey}}"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"voucher_type\": 36,\n  \"location_id\": \"LOC001\",\n  \"vdate\": \"2024-01-15\"\n}"
            },
            "url": {
              "raw": "{{baseUrl}}/api/payments/voucher-number",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "payments",
                "voucher-number"
              ]
            }
          },
          "response": []
        },
        {
          "name": "Get Ledger Info",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "X-API-Key",
                "value": "{{apiKey}}"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"ledger_id\": \"LED001\",\n  \"location_id\": \"LOC001\",\n  \"voucher_date\": \"2024-01-15\"\n}"
            },
            "url": {
              "raw": "{{baseUrl}}/api/payments/ledger-info",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "payments",
                "ledger-info"
              ]
            }
          },
          "response": []
        },
        {
          "name": "Get Party Info",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "X-API-Key",
                "value": "{{apiKey}}"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"party_id\": \"PARTY001\",\n  \"location_id\": \"LOC001\",\n  \"vtype\": 36\n}"
            },
            "url": {
              "raw": "{{baseUrl}}/api/payments/party-info",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "payments",
                "party-info"
              ]
            }
          },
          "response": []
        },
        {
          "name": "Get Bill Outstanding",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "X-API-Key",
                "value": "{{apiKey}}"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"voucher_type\": 36,\n  \"party_id\": \"PARTY001\",\n  \"location_id\": \"LOC001\",\n  \"vdate\": \"2024-01-15\"\n}"
            },
            "url": {
              "raw": "{{baseUrl}}/api/payments/bill-outstanding",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "payments",
                "bill-outstanding"
              ]
            }
          },
          "response": []
        },
        {
          "name": "Save Payment Receipt",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "X-API-Key",
                "value": "{{apiKey}}"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"voucher_type\": 36,\n  \"voucher_number\": \"PAY00001\",\n  \"party_id\": \"PARTY001\",\n  \"amount\": 15000.00\n}"
            },
            "url": {
              "raw": "{{baseUrl}}/api/payments/save",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "payments",
                "save"
              ]
            }
          },
          "response": []
        }
      ]
    },
    {
      "name": "Bill Payment Management",
      "item": [
        {
          "name": "Get Voucher Number",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "X-API-Key",
                "value": "{{apiKey}}"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"vid\": \"00000000-0000-0000-0000-000000000000\",\n  \"voucher_type\": 22,\n  \"location_id\": \"00000000-0000-0000-0000-000000000000\",\n  \"counter_id\": \"00000000-0000-0000-0000-000000000000\",\n  \"document_category_id\": \"00000000-0000-0000-0000-000000000000\",\n  \"vdate\": \"2026-02-08 00:00:00\",\n  \"prefix\": \"\",\n  \"book_start_month\": 4,\n  \"voucher_number_config\": {\n    \"auto_prefix_based_on\": 0,\n    \"default_prefix\": \"\",\n    \"digits\": 5,\n    \"numeric_series\": 0,\n    \"prefix\": 0,\n    \"prefix_mapping\": [],\n    \"re_initialize_series\": 1,\n    \"seperator\": 0\n  }\n}"
            },
            "url": {
              "raw": "{{baseUrl}}/api/billpayment/voucher-number",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "billpayment",
                "voucher-number"
              ]
            }
          },
          "response": []
        },
        {
          "name": "Get Ledger Info",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "X-API-Key",
                "value": "{{apiKey}}"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"ledger_id\": \"4a1f0872-fff0-4275-9a9e-2a49fa9fd020\",\n  \"location_id\": \"00000000-0000-0000-0000-000000000000\",\n  \"voucher_date\": \"2026-02-08 00:00:00\",\n  \"voucher_id\": \"00000000-0000-0000-0000-000000000000\"\n}"
            },
            "url": {
              "raw": "{{baseUrl}}/api/billpayment/ledger-info",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "billpayment",
                "ledger-info"
              ]
            }
          },
          "response": []
        },
        {
          "name": "Get Party Info",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "X-API-Key",
                "value": "{{apiKey}}"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"location_id\": \"00000000-0000-0000-0000-000000000000\",\n  \"party_id\": \"d0d7df9a-6d5c-dfe7-243d-e99c87b00abd\",\n  \"voucher_date\": \"2026-02-08 00:00:00\",\n  \"voucher_id\": \"00000000-0000-0000-0000-000000000000\"\n}"
            },
            "url": {
              "raw": "{{baseUrl}}/api/billpayment/party-info",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "billpayment",
                "party-info"
              ]
            }
          },
          "response": []
        },
        {
          "name": "Get Bill Outstanding",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "X-API-Key",
                "value": "{{apiKey}}"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"cur_code\": \"INR\",\n  \"location_id\": \"00000000-0000-0000-0000-000000000000\",\n  \"party_id\": \"d0d7df9a-6d5c-dfe7-243d-e99c87b00abd\",\n  \"vdate\": \"2026-02-08 00:00:00\",\n  \"vid\": \"00000000-0000-0000-0000-000000000000\",\n  \"vouchertype\": 22\n}"
            },
            "url": {
              "raw": "{{baseUrl}}/api/billpayment/bill-outstanding",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "billpayment",
                "bill-outstanding"
              ]
            }
          },
          "response": []
        },
        {
          "name": "Save Bill Payment",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "X-API-Key",
                "value": "{{apiKey}}"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"is_new_mode\": true,\n  \"info\": {\n    \"id\": \"4bae9e3b-b91d-18a8-a83d-2cf275259e33\",\n    \"party\": {\n      \"id\": \"536dfc77-5dc0-2a47-63f7-84b67bf6b8a2\",\n      \"name\": \"Test Vendor\"\n    },\n    \"cash_bank\": {\n      \"id\": \"66d3f6f2-f979-487a-aee0-2bc8cb1a9d4c\",\n      \"name\": \"Cash In Hand\"\n    },\n    \"currency_code\": \"INR\",\n    \"conversion_rate\": 1,\n    \"voucher_number\": {\n      \"prefix\": \"\",\n      \"num\": \"00001\",\n      \"suffix\": \"\"\n    },\n    \"vdate\": \"2026-02-08 00:00:00\",\n    \"amount\": 10\n  },\n  \"vtype\": 22\n}"
            },
            "url": {
              "raw": "{{baseUrl}}/api/billpayment/save",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "billpayment",
                "save"
              ]
            }
          },
          "response": []
        }
      ]
    },
    {
      "name": "Expense Journal Management",
      "item": [
        {
          "name": "Get Short List",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "X-API-Key",
                "value": "{{apiKey}}"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"new_id\": \"00000000-0000-0000-0000-000000000000\",\n  \"master_list_type\": 105,\n  \"master_type\": 35\n}"
            },
            "url": {
              "raw": "{{baseUrl}}/api/expensejournal/shortlist",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "expensejournal",
                "shortlist"
              ]
            }
          },
          "response": []
        },
        {
          "name": "Get Voucher Number",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "X-API-Key",
                "value": "{{apiKey}}"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"vid\": \"00000000-0000-0000-0000-000000000000\",\n  \"voucher_type\": 35,\n  \"location_id\": \"00000000-0000-0000-0000-000000000000\",\n  \"counter_id\": \"00000000-0000-0000-0000-000000000000\",\n  \"document_category_id\": \"00000000-0000-0000-0000-000000000000\",\n  \"vdate\": \"2026-02-08 00:00:00\",\n  \"prefix\": \"\",\n  \"book_start_month\": 4\n}"
            },
            "url": {
              "raw": "{{baseUrl}}/api/expensejournal/voucher-number",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "expensejournal",
                "voucher-number"
              ]
            }
          },
          "response": []
        },
        {
          "name": "Get Ledger Info",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "X-API-Key",
                "value": "{{apiKey}}"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"ledger_id\": \"328d9365-320b-48c0-a8f4-b615442338b3\",\n  \"location_id\": \"00000000-0000-0000-0000-000000000000\",\n  \"voucher_date\": \"2026-02-08 00:00:00\",\n  \"voucher_id\": \"00000000-0000-0000-0000-000000000000\"\n}"
            },
            "url": {
              "raw": "{{baseUrl}}/api/expensejournal/ledger-info",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "expensejournal",
                "ledger-info"
              ]
            }
          },
          "response": []
        },
        {
          "name": "Get Vendor Info",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "X-API-Key",
                "value": "{{apiKey}}"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"vendor_id\": \"536dfc77-5dc0-2a47-63f7-84b67bf6b8a2\",\n  \"location_id\": \"00000000-0000-0000-0000-000000000000\",\n  \"voucher_date\": \"2026-02-08 00:00:00\",\n  \"voucher_id\": \"00000000-0000-0000-0000-000000000000\"\n}"
            },
            "url": {
              "raw": "{{baseUrl}}/api/expensejournal/vendor-info",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "expensejournal",
                "vendor-info"
              ]
            }
          },
          "response": []
        },
        {
          "name": "Get Item Info",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "X-API-Key",
                "value": "{{apiKey}}"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"item_id\": \"b319dfea-bea6-edf5-e03e-e08cd5323e3d\",\n  \"location_id\": \"00000000-0000-0000-0000-000000000000\",\n  \"voucher_date\": \"2026-02-08 00:00:00\",\n  \"voucher_id\": \"00000000-0000-0000-0000-000000000000\"\n}"
            },
            "url": {
              "raw": "{{baseUrl}}/api/expensejournal/item-info",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "expensejournal",
                "item-info"
              ]
            }
          },
          "response": []
        },
        {
          "name": "Save Expense Journal",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "X-API-Key",
                "value": "{{apiKey}}"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"is_new_mode\": true,\n  \"expense_journal_voucher\": {\n    \"id\": \"63e25eec-841f-40b9-9a7a-6e6217eab3d6\",\n    \"party\": {\n      \"id\": \"536dfc77-5dc0-2a47-63f7-84b67bf6b8a2\",\n      \"name\": \"Test Vendor\"\n    },\n    \"item\": {\n      \"id\": \"b319dfea-bea6-edf5-e03e-e08cd5323e3d\",\n      \"name\": \"Service\"\n    },\n    \"currency_code\": \"INR\",\n    \"conversion_rate\": 1,\n    \"voucher_number\": {\n      \"prefix\": \"\",\n      \"num\": \"00001\"\n    },\n    \"vdate\": \"2026-02-08 00:00:00\",\n    \"net_amount_fc\": 10,\n    \"bill_amount_fc\": 11.8\n  }\n}"
            },
            "url": {
              "raw": "{{baseUrl}}/api/expensejournal/save",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "expensejournal",
                "save"
              ]
            }
          },
          "response": []
        }
      ]
    },
    {
      "name": "Journal Voucher Management",
      "item": [
        {
          "name": "Get Voucher Number",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "X-API-Key",
                "value": "{{apiKey}}"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"vid\": \"00000000-0000-0000-0000-000000000000\",\n  \"voucher_type\": 34,\n  \"location_id\": \"00000000-0000-0000-0000-000000000000\",\n  \"counter_id\": \"00000000-0000-0000-0000-000000000000\",\n  \"document_category_id\": \"00000000-0000-0000-0000-000000000000\",\n  \"vdate\": \"2026-02-08 00:00:00\",\n  \"prefix\": \"\",\n  \"book_start_month\": 4\n}"
            },
            "url": {
              "raw": "{{baseUrl}}/api/journalvoucher/voucher-number",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "journalvoucher",
                "voucher-number"
              ]
            }
          },
          "response": []
        },
        {
          "name": "Get Ledger Info",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "X-API-Key",
                "value": "{{apiKey}}"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"ledger_id\": \"328d9365-320b-48c0-a8f4-b615442338b3\",\n  \"location_id\": \"00000000-0000-0000-0000-000000000000\",\n  \"voucher_date\": \"2026-02-08 00:00:00\",\n  \"voucher_id\": \"00000000-0000-0000-0000-000000000000\"\n}"
            },
            "url": {
              "raw": "{{baseUrl}}/api/journalvoucher/ledger-info",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "journalvoucher",
                "ledger-info"
              ]
            }
          },
          "response": []
        },
        {
          "name": "Get Party Info",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "X-API-Key",
                "value": "{{apiKey}}"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"party_id\": \"536dfc77-5dc0-2a47-63f7-84b67bf6b8a2\",\n  \"location_id\": \"00000000-0000-0000-0000-000000000000\",\n  \"voucher_date\": \"2026-02-08 00:00:00\",\n  \"voucher_id\": \"00000000-0000-0000-0000-000000000000\"\n}"
            },
            "url": {
              "raw": "{{baseUrl}}/api/journalvoucher/party-info",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "journalvoucher",
                "party-info"
              ]
            }
          },
          "response": []
        },
        {
          "name": "Save Journal Voucher",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "X-API-Key",
                "value": "{{apiKey}}"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"is_new_mode\": true,\n  \"vtype\": 34,\n  \"journal_voucher\": {\n    \"id\": \"b30f8fbd-70ef-496d-0105-10a79e7a5df6\",\n    \"currency_code\": \"INR\",\n    \"conversion_rate\": 1,\n    \"voucher_number\": {\n      \"prefix\": \"\",\n      \"num\": \"00001\"\n    },\n    \"vdate\": \"2026-02-08 00:00:00\",\n    \"narration\": \"Being Journal Entry\",\n    \"ledger_detail\": [\n      {\n        \"ledger\": {\n          \"id\": \"328d9365-320b-48c0-a8f4-b615442338b3\",\n          \"name\": \"Advance Income - Tax Paid\"\n        },\n        \"debit_credit\": 0,\n        \"amount_fc\": 10,\n        \"amount_lc\": 10\n      }\n    ]\n  }\n}"
            },
            "url": {
              "raw": "{{baseUrl}}/api/journalvoucher/save",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "journalvoucher",
                "save"
              ]
            }
          },
          "response": []
        }
      ]
    },
    {
      "name": "Search Management",
      "item": [
        {
          "name": "Search Voucher",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "X-API-Key",
                "value": "{{apiKey}}"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"amount_from\": 0,\n  \"amount_to\": 100000,\n  \"date_from\": \"2024-01-01\",\n  \"date_to\": \"2024-12-31\",\n  \"search_value\": \"\",\n  \"voucher_type\": 4\n}"
            },
            "url": {
              "raw": "{{baseUrl}}/api/search/search-voucher",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "search",
                "search-voucher"
              ]
            }
          },
          "response": []
        }
      ]
    },
    {
      "name": "ShortList Management",
      "item": [
        {
          "name": "Get Document List",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "X-API-Key",
                "value": "{{apiKey}}"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"info\": {\n    \"master_type\": 4,\n    \"master_id\": \"\",\n    \"branch_id\": \"00000000-0000-0000-0000-000000000000\",\n    \"from_date\": \"2024-01-01\",\n    \"to_date\": \"2024-12-31\",\n    \"document_status\": 0\n  }\n}"
            },
            "url": {
              "raw": "{{baseUrl}}/api/shortlist/GetDocumentList",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "shortlist",
                "GetDocumentList"
              ]
            }
          },
          "response": []
        },
        {
          "name": "Get Tax Info",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "X-API-Key",
                "value": "{{apiKey}}"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"master_list_type\": 8,\n  \"new_id\": \"00000000-0000-0000-0000-000000000000\",\n  \"master_type\": 0\n}"
            },
            "url": {
              "raw": "{{baseUrl}}/api/shortlist/GetTaxInfo",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "shortlist",
                "GetTaxInfo"
              ]
            }
          },
          "response": []
        },
        {
          "name": "Get Branch List",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "X-API-Key",
                "value": "{{apiKey}}"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"master_list_type\": 1,\n  \"new_id\": \"00000000-0000-0000-0000-000000000000\",\n  \"master_type\": 0\n}"
            },
            "url": {
              "raw": "{{baseUrl}}/api/shortlist/branch",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "shortlist",
                "branch"
              ]
            }
          },
          "response": []
        },
        {
          "name": "Get City List",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "X-API-Key",
                "value": "{{apiKey}}"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"state_id\": \"00000000-0000-0000-0000-000000000000\"\n}"
            },
            "url": {
              "raw": "{{baseUrl}}/api/shortlist/city",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "shortlist",
                "city"
              ]
            }
          },
          "response": []
        },
        {
          "name": "Get Vendor ShortList",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "X-API-Key",
                "value": "{{apiKey}}"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"master_list_type\": 7,\n  \"new_id\": \"00000000-0000-0000-0000-000000000000\",\n  \"master_type\": 0\n}"
            },
            "url": {
              "raw": "{{baseUrl}}/api/shortlist/vendor",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "shortlist",
                "vendor"
              ]
            }
          },
          "response": []
        },
        {
          "name": "Get State List",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "X-API-Key",
                "value": "{{apiKey}}"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"master_list_type\": 2,\n  \"new_id\": \"00000000-0000-0000-0000-000000000000\",\n  \"master_type\": 0\n}"
            },
            "url": {
              "raw": "{{baseUrl}}/api/shortlist/state",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "shortlist",
                "state"
              ]
            }
          },
          "response": []
        },
        {
          "name": "Get Item ShortList",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "X-API-Key",
                "value": "{{apiKey}}"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"master_list_type\": 3,\n  \"new_id\": \"00000000-0000-0000-0000-000000000000\",\n  \"master_type\": 0\n}"
            },
            "url": {
              "raw": "{{baseUrl}}/api/shortlist/item",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "shortlist",
                "item"
              ]
            }
          },
          "response": []
        },
        {
          "name": "Get Customer ShortList",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "X-API-Key",
                "value": "{{apiKey}}"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"master_list_type\": 5,\n  \"new_id\": \"00000000-0000-0000-0000-000000000000\",\n  \"master_type\": 0\n}"
            },
            "url": {
              "raw": "{{baseUrl}}/api/shortlist/customer",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "shortlist",
                "customer"
              ]
            }
          },
          "response": []
        },
        {
          "name": "Get Item Unit ShortList",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "X-API-Key",
                "value": "{{apiKey}}"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"master_list_type\": 4,\n  \"new_id\": \"00000000-0000-0000-0000-000000000000\",\n  \"master_type\": 0\n}"
            },
            "url": {
              "raw": "{{baseUrl}}/api/shortlist/item-unit",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "shortlist",
                "item-unit"
              ]
            }
          },
          "response": []
        },
        {
          "name": "Get Ledger ShortList",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "X-API-Key",
                "value": "{{apiKey}}"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"master_list_type\": 6,\n  \"new_id\": \"00000000-0000-0000-0000-000000000000\",\n  \"master_type\": 0\n}"
            },
            "url": {
              "raw": "{{baseUrl}}/api/shortlist/ledger",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "shortlist",
                "ledger"
              ]
            }
          },
          "response": []
        },
        {
          "name": "Get Company ShortList",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "X-API-Key",
                "value": "{{apiKey}}"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"master_list_type\": 9,\n  \"new_id\": \"00000000-0000-0000-0000-000000000000\",\n  \"master_type\": 0\n}"
            },
            "url": {
              "raw": "{{baseUrl}}/api/shortlist/company",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "shortlist",
                "company"
              ]
            }
          },
          "response": []
        },
        {
          "name": "Get All Customers Report",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "X-API-Key",
                "value": "{{apiKey}}"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"report_id\": \"CUSTOMER_LIST\",\n  \"parameters\": {}\n}"
            },
            "url": {
              "raw": "{{baseUrl}}/api/shortlist/all-customers",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "shortlist",
                "all-customers"
              ]
            }
          },
          "response": []
        },
        {
          "name": "Get All Vendors Report",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "X-API-Key",
                "value": "{{apiKey}}"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"report_id\": \"VENDOR_LIST\",\n  \"parameters\": {}\n}"
            },
            "url": {
              "raw": "{{baseUrl}}/api/shortlist/all-vendors",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "shortlist",
                "all-vendors"
              ]
            }
          },
          "response": []
        }
      ]
    },
    {
      "name": "Service Bill Management",
      "item": [
        {
          "name": "Get Sales Setup",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "X-API-Key",
                "value": "{{apiKey}}"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"company_id\": \"COMP001\"\n}"
            },
            "url": {
              "raw": "{{baseUrl}}/api/servicebill/sales-setup",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "servicebill",
                "sales-setup"
              ]
            }
          },
          "response": []
        },
        {
          "name": "Get Document Misc Setup",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "X-API-Key",
                "value": "{{apiKey}}"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"voucher_type\": 4\n}"
            },
            "url": {
              "raw": "{{baseUrl}}/api/servicebill/document-misc-setup",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "servicebill",
                "document-misc-setup"
              ]
            }
          },
          "response": []
        },
        {
          "name": "Get Document General Setup",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "X-API-Key",
                "value": "{{apiKey}}"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"voucher_type\": 4\n}"
            },
            "url": {
              "raw": "{{baseUrl}}/api/servicebill/document-general-setup",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "servicebill",
                "document-general-setup"
              ]
            }
          },
          "response": []
        },
        {
          "name": "Get Document Numbering Setup",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "X-API-Key",
                "value": "{{apiKey}}"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"voucher_type\": 4\n}"
            },
            "url": {
              "raw": "{{baseUrl}}/api/servicebill/document-numbering-setup",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "servicebill",
                "document-numbering-setup"
              ]
            }
          },
          "response": []
        },
        {
          "name": "Get Grid Config",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "X-API-Key",
                "value": "{{apiKey}}"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"vtype\": 4\n}"
            },
            "url": {
              "raw": "{{baseUrl}}/api/servicebill/grid-config",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "servicebill",
                "grid-config"
              ]
            }
          },
          "response": []
        },
        {
          "name": "Get Voucher Number",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "X-API-Key",
                "value": "{{apiKey}}"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n    \"voucher_type\": 4,\n    \"location_id\": \"354d092a-f3c1-4070-a7de-59984de47ab3\",\n    \"counter_id\": \"00000000-0000-0000-0000-000000000000\",\n    \"document_category_id\": \"00000000-0000-0000-0000-000000000000\",\n    \"vdate\": \"2026-04-05 00:00:00\",\n    \"prefix\": \"\",\n    \"vid\": \"00000000-0000-0000-0000-000000000000\",\n    \"book_start_month\": 4,\n    \"voucher_number_config\": {\n        \"numeric_series\": 0,\n        \"re_initialize_series\": 1,\n        \"prefix\": 0,\n        \"auto_prefix_based_on\": 0,\n        \"seperator\": 0,\n        \"default_prefix\": \"\",\n        \"digits\": 5,\n        \"prefix_mapping\": []\n    }\n}\n"
            },
            "url": {
              "raw": "{{baseUrl}}/api/servicebill/voucher-number",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "servicebill",
                "voucher-number"
              ]
            }
          },
          "response": []
        },
        {
          "name": "Get Short List",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "X-API-Key",
                "value": "{{apiKey}}"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"master_list_type\": 3,\n  \"new_id\": \"00000000-0000-0000-0000-000000000000\",\n  \"master_type\": 0\n}"
            },
            "url": {
              "raw": "{{baseUrl}}/api/servicebill/shortlist",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "servicebill",
                "shortlist"
              ]
            }
          },
          "response": []
        },
        {
          "name": "Get Party Info",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "X-API-Key",
                "value": "{{apiKey}}"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"party_id\": \"PARTY001\",\n  \"location_id\": \"LOC001\",\n  \"vtype\": 4\n}"
            },
            "url": {
              "raw": "{{baseUrl}}/api/servicebill/party-info",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "servicebill",
                "party-info"
              ]
            }
          },
          "response": []
        },
        {
          "name": "Get Shipping Address",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "X-API-Key",
                "value": "{{apiKey}}"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"master_list_type\": 215,\n  \"under_party_id\": \"PARTY001\",\n  \"vtype\": 4\n}"
            },
            "url": {
              "raw": "{{baseUrl}}/api/servicebill/shipping-address",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "servicebill",
                "shipping-address"
              ]
            }
          },
          "response": []
        },
        {
          "name": "Get Item Info",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "X-API-Key",
                "value": "{{apiKey}}"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"item_id\": \"ITEM001\",\n  \"location_id\": \"LOC001\",\n  \"party_id\": \"PARTY001\",\n  \"vtype\": 4\n}"
            },
            "url": {
              "raw": "{{baseUrl}}/api/servicebill/item-info",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "servicebill",
                "item-info"
              ]
            }
          },
          "response": []
        },
        {
          "name": "Get Tax Info",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "X-API-Key",
                "value": "{{apiKey}}"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"tax_id\": \"TAX001\",\n  \"party_id\": \"PARTY001\",\n  \"vtype\": 4\n}"
            },
            "url": {
              "raw": "{{baseUrl}}/api/servicebill/tax-info",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "servicebill",
                "tax-info"
              ]
            }
          },
          "response": []
        },
        {
          "name": "Save Invoice",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "X-API-Key",
                "value": "{{apiKey}}"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"voucher_type\": 4,\n  \"voucher_number\": \"SB00001\",\n  \"party_id\": \"PARTY001\",\n  \"total_amount\": 1180.00\n}"
            },
            "url": {
              "raw": "{{baseUrl}}/api/servicebill/save",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "servicebill",
                "save"
              ]
            }
          },
          "response": []
        }
      ]
    },
    {
      "name": "AB Integration",
      "item": [
         {
          "name": "AB Receipt Payment",
          "item": [
            {
              "name": "Get All Receipt Payments",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "X-API-Key",
                    "value": "{{apiKey}}",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/api/ab/receiptpayment",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "api",
                    "ab",
                    "receiptpayment"
                  ]
                }
              },
              "response": []
            },
            {
              "name": "Get Receipt Payment By ID",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "X-API-Key",
                    "value": "{{apiKey}}",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/api/ab/receiptpayment/{{rpId}}",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "api",
                    "ab",
                    "receiptpayment",
                    "{{rpId}}"
                  ]
                }
              },
              "response": []
            },
            {
              "name": "Get Receipt Payment By Processing ID",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "X-API-Key",
                    "value": "{{apiKey}}",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/api/ab/receiptpayment/by-processing-id/{{processingId}}",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "api",
                    "ab",
                    "receiptpayment",
                    "by-processing-id",
                    "{{processingId}}"
                  ]
                }
              },
              "response": []
            },
            {
              "name": "Upsert Receipt Payment",
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "X-API-Key",
                    "value": "{{apiKey}}",
                    "type": "text"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"ab_rp_id\": null,\n  \"processing_trans_id\": \"5B8AA231-FFA8-49B6-8A1E-B4F05447A0C9\",\n  \"category\": 0,\n  \"amount\": 5000.00,\n  \"category_status\": 1,\n  \"voucher_id\": \"VOUCH001\",\n  \"bank\": \"ICICI Bank\",\n  \"party\": \"XYZ Vendor\",\n  \"party_bank_card\": \"3fa85f64-5717-4562-b3fc-2c963f66afab\",\n  \"remarks\": \"Payment received\",\n  \"receipt_date\":\"2026-06-03\"\n}"
                },
                "url": {
                  "raw": "{{baseUrl}}/api/ab/receiptpayment",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "api",
                    "ab",
                    "receiptpayment"
                  ]
                }
              },
              "response": []
            }
          ]
        },
        {
          "name": "AB Transaction",
          "item": [
            {
              "name": "Get All Transactions",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "X-API-Key",
                    "value": "{{apiKey}}",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/api/ab/transaction",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "api",
                    "ab",
                    "transaction"
                  ]
                }
              },
              "response": []
            },
            {
              "name": "Get Transaction By ID",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "X-API-Key",
                    "value": "{{apiKey}}"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/api/ab/transaction/{{transactionId}}",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "api",
                    "ab",
                    "transaction",
                    "{{transactionId}}"
                  ]
                }
              },
              "response": []
            },
            {
              "name": "Get Transaction Details (Combined)",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "X-API-Key",
                    "value": "{{apiKey}}",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/api/ab/transaction/details/{{transactionId}}",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "api",
                    "ab",
                    "transaction",
                    "details",
                    "{{transactionId}}"
                  ]
                }
              },
              "response": []
            },
            {
              "name": "Upsert Transaction",
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "X-API-Key",
                    "value": "{{apiKey}}"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"trans_id\": \"7B8AA231-FFA8-49B6-8A1E-B4F05447A0C9\",\n  \"processing_trans_id\": \"5B8AA231-FFA8-49B6-8A1E-B4F05447A0C9\",\n  \"credit_category\": 1,\n  \"debit_category\": 2,\n  \"status\": \"Pending\",\n  \"status_reason\": \"Awaiting approval\"\n}"
                },
                "url": {
                  "raw": "{{baseUrl}}/api/ab/transaction",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "api",
                    "ab",
                    "transaction"
                  ]
                }
              },
              "response": []
            }
          ]
        },
        {
          "name": "AB Trans Processing",
          "item": [
            {
              "name": "Get All Processing Transactions",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "X-API-Key",
                    "value": "{{apiKey}}"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/api/ab/transprocessing",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "api",
                    "ab",
                    "transprocessing"
                  ]
                }
              },
              "response": []
            },
            {
              "name": "Get Processing Transaction By ID",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "X-API-Key",
                    "value": "{{apiKey}}"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/api/ab/transprocessing/{{processingTransId}}",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "api",
                    "ab",
                    "transprocessing",
                    "{{processingTransId}}"
                  ]
                }
              },
              "response": []
            },
            {
              "name": "Upsert Processing Transaction",
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "X-API-Key",
                    "value": "{{apiKey}}"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"processing_trans_id\": \"5B8AA231-FFA8-49B6-8A1E-B4F05447A0C9\",\n  \"trans_id\": \"7B8AA231-FFA8-49B6-8A1E-B4F05447A0C9\",\n  \"status\": \"Processing\",\n  \"sales_party\": \"ABC Corp\",\n  \"sales_amount\": 10000.50,\n  \"credit_amount\": 5000.25,\n  \"debit_amount\": 5000.25,\n  \"sales_bank\": \"HDFC Bank\",\n  \"sales_id\": \"SALE001\",\n  \"credit_id\": \"3fa85f64-5717-4562-b3fc-2c963f66afa7\",\n  \"debit_id\": \"3fa85f64-5717-4562-b3fc-2c963f66afa8\",\n  \"credit_category\": 1,\n  \"debit_category\": 2,\n  \"attachment_status\": 0,\n  \"party_card\": \"3fa85f64-5717-4562-b3fc-2c963f66afa9\",\n  \"party_bank\": \"3fa85f64-5717-4562-b3fc-2c963f66afaa\",\n  \"sales_invoice_date\":\"2026-06-03\"\n}"
                },
                "url": {
                  "raw": "{{baseUrl}}/api/ab/transprocessing",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "api",
                    "ab",
                    "transprocessing"
                  ]
                }
              },
              "response": []
            }
          ]
        },
      {
          "name": "AlignBook User Mapping API",
          "item": [
            {
              "name": "Get User Mapping",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "X-API-Key",
                    "value": "{{apiKey}}"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/api/ab/usermapping/mapping?abUserId=5B8AA231-FFA8-49B6-8A1E-B4F05447A0C9&c2cUserId=ECB7C01E-F1F8-4384-BB4B-5B619578163F",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "api",
                    "ab",
                    "usermapping",
                    "mapping"
                  ],
                  "query": [
                    {
                      "key": "abUserId",
                      "value": "5B8AA231-FFA8-49B6-8A1E-B4F05447A0C9",
                      "description": "AlignBook User ID (optional)"
                    },
                    {
                      "key": "c2cUserId",
                      "value": "ECB7C01E-F1F8-4384-BB4B-5B619578163F",
                      "description": "C2C User ID (optional)"
                    }
                  ]
                },
                "description": "Get user mapping by AB User ID or C2C User ID"
              },
              "response": []
            },
            {
              "name": "Get User Profile by AB ID",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "X-API-Key",
                    "value": "{{apiKey}}"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/api/ab/usermapping/profile/5B8AA231-FFA8-49B6-8A1E-B4F05447A0C9",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "api",
                    "ab",
                    "usermapping",
                    "profile",
                    "5B8AA231-FFA8-49B6-8A1E-B4F05447A0C9"
                  ]
                },
                "description": "Get user profile details by AlignBook User ID"
              },
              "response": []
            },
            {
              "name": "Get Bank Details by AB ID",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "X-API-Key",
                    "value": "{{apiKey}}"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/api/ab/usermapping/banks/5B8AA231-FFA8-49B6-8A1E-B4F05447A0C9",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "api",
                    "ab",
                    "usermapping",
                    "banks",
                    "5B8AA231-FFA8-49B6-8A1E-B4F05447A0C9"
                  ]
                },
                "description": "Get bank details by AlignBook User ID"
              },
              "response": []
            },
            {
              "name": "Get Card Details by AB ID",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "X-API-Key",
                    "value": "{{apiKey}}"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/api/ab/usermapping/cards/5B8AA231-FFA8-49B6-8A1E-B4F05447A0C9",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "api",
                    "ab",
                    "usermapping",
                    "cards",
                    "5B8AA231-FFA8-49B6-8A1E-B4F05447A0C9"
                  ]
                },
                "description": "Get card details by AlignBook User ID"
              },
              "response": []
            },
            {
              "name": "Create User Mapping",
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "X-API-Key",
                    "value": "{{apiKey}}"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"ab_user_id\": \"5B8AA231-FFA8-49B6-8A1E-B4F05447A0C9\",\n  \"c2c_user_id\": \"ECB7C01E-F1F8-4384-BB4B-5B619578163F\"\n}"
                },
                "url": {
                  "raw": "{{baseUrl}}/api/ab/usermapping/mapping",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "api",
                    "ab",
                    "usermapping",
                    "mapping"
                  ]
                },
                "description": "Create a new user mapping between AlignBook and C2C"
              },
              "response": []
            }
          ]
        }
      ]
    },
    {
      "name": "Google File Management",
      "item": [
        {
          "name": "Get File",
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          },
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "X-API-Key",
                "value": "{{apiKey}}"
              }
            ],
            "body": {
              "mode": "formdata",
              "formdata": []
            },
            "url": {
              "raw": "{{baseUrl}}/api/ab/googlefile/GetFile?FileId=1NvC7BJTVzLo33RBpzRG-JS32ygTFTDan",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "ab",
                "googlefile",
                "GetFile"
              ],
              "query": [
                {
                  "key": "FileId",
                  "value": "1NvC7BJTVzLo33RBpzRG-JS32ygTFTDan",
                  "description": "Google Drive File ID"
                }
              ]
            },
            "description": "Download a file from Google Drive by File ID"
          },
          "response": []
        },
        {
          "name": "Upload File",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "multipart/form-data"
              },
              {
                "key": "X-API-Key",
                "value": "{{apiKey}}"
              }
            ],
            "body": {
              "mode": "formdata",
              "formdata": [
                {
                  "key": "Extn",
                  "value": ".jpg",
                  "type": "text"
                },
                {
                  "key": "ProfileId",
                  "value": "99636207-8866-4F24-B827-3FF3E68372F1",
                  "type": "text"
                },
                {
                  "key": "ByteArray",
                  "type": "file",
                  "uuid": "a2433641-c680-4dff-9545-354d3f26c5bf",
                  "src": "postman-cloud:///1f137daf-3c09-49c0-aa12-d0c5315726c5"
                },
                {
                  "key": "Base64String",
                  "value": "",
                  "type": "text",
                  "uuid": "553fddb3-4fec-4286-8924-a02319f55d8c"
                }
              ]
            },
            "url": {
              "raw": "{{baseUrl}}/api/ab/googlefile/UploadFile",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "ab",
                "googlefile",
                "UploadFile"
              ]
            },
            "description": "Upload a file to Google Drive. Provide either ByteArray or Base64String"
          },
          "response": []
        }
      ]
    }
  ],
  "auth": {
    "type": "bearer",
    "bearer": [
      {
        "key": "token",
        "value": "{{auth0Token}}",
        "type": "string"
      }
    ]
  },
  "event": [
    {
      "listen": "prerequest",
      "script": {
        "type": "text/javascript",
        "requests": {},
        "exec": [
          "const isAuthRequired = !pm.request.url.path.includes('login');",
          "const token = pm.collectionVariables.get('auth0Token');",
          "",
          "if (isAuthRequired && (!token || token === '')) {",
          "    console.log('No token found. Please login first.');",
          "}"
        ]
      }
    },
    {
      "listen": "test",
      "script": {
        "type": "text/javascript",
        "requests": {},
        "exec": [
          "if (pm.response.code === 401) {",
          "    try {",
          "        const jsonData = pm.response.json();",
          "        if (jsonData.sessionExpired) {",
          "            pm.collectionVariables.set('auth0Token', '');",
          "            console.log('Session expired. Token cleared. Please login again.');",
          "        }",
          "    } catch (e) {",
          "        console.log('Unauthorized response received.');",
          "    }",
          "}"
        ]
      }
    }
  ],
  "variable": [
    {
      "key": "baseUrl",
      "value": "https://alignbookapi.kgetechnologies.com"
    },
    {
      "key": "apiKey",
      "value": "kgetech"
    },
    {
      "key": "auth0Token",
      "value": ""
    }
  ]
}